package aiball

class Contents {

	String name;
	String code;
	String headline;
	Date time;
	boolean userOnly;
	boolean justCategory;
	Contents parent;
	
	
    static constraints = {
		name blank:false, size: 2..16
		time blank:true, display:false
		parent blank:true
		
    }
	
	static mapping = {
		code type: 'text'
	 }
}
